//
//  WTLiveView.h
//  WTLiveSDKDemo
//
//  Created by ben on 2016/11/30.
//  Copyright © 2016年 ben. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Masonry.h"

@class WTLiveView;
@protocol WTLiveViewDelegate <NSObject>
- (void)liveViewCloseLive:(WTLiveView*)liveView statusColse:(BOOL)statusColse;

- (void)liveViewGoGiftDetail:(WTLiveView*)liveView;
@end

@interface WTLiveView : UIView

@property (nonatomic,weak) id<WTLiveViewDelegate> delegate;

@property (nonatomic,strong) NSDictionary*         params;


/**
 开启普通直播
 */
- (void)start;



/**
 开始约播的直播

 */
- (void)startApplyLive;


/**
 停止直播
 */
- (void)stop;
@end
